<!--@if($oDocument->getCommentCount())-->
	{@ $_comment_list = $oDocument->getComments() }
	<!--@foreach($_comment_list as $key => $comment)-->
		<tr class="tr1">
			<td class="user_name">
				<strong><a href="#popup_menu_area" class="member_{$comment->member_srl}" onclick="return false">{$comment->getNickName()}</a></strong>
			</td>
			<td>
				<p class="subject"><span class="re">Re:</span>{$oDocument->getTitle()}</p>
				<p class="postDate">{$lang->post_date}:{$comment->getRegdate('Y.d.m')}</p>
			</td>
		</tr>
		<tr class="tr2">
			<td class="user_mod">
				<div class="user_info">
				<p class="avatar">
					<!--@if($comment->getProfileImage())-->
						<img src="{$comment->getProfileImage()}" alt="profile" class="commentProfileImage" />
					<!--@else-->
					<img src="images/common/avatar.jpg">
					<!--@end-->
				</p>
				<p class="additionalInfo"><span>{$lang->registered}: </span><b>{$comment->getRegdate('m/d/Y')}</b></p>
				<!--@if($grant->manager || $module_info->display_ip_address!='N')-->
				<p class="additionalInfo"><span>{$lang->ip}: </span>{$comment->getIpaddress()}</p>
				<!--@end-->
				</div>
			</td>
			<td class="content_text">
				<div class="content_mod">
				{html_entity_decode($comment->getContentText())}
				<!--@if($comment->hasUploadedFiles())-->
						{@ $_uploaded_files = $comment->getUploadedFiles() }
						<ul class="filesList">
							<!--@foreach($_uploaded_files as $key => $file)-->
							<li>
								<a href="{getUrl('')}{$file->download_url}">
									{$file->source_filename}
									<span class="bubble">[File Size:{FileHandler::filesize($file->file_size)}/Download{number_format($file->download_count)}]</span>
								</a>
							</li>
							<!--@end-->
						</ul>
				<!--@end-->
				<div class="btn">
								<!--@if($comment->isGranted() || !$comment->get('member_srl'))-->
				<a href="{getUrl('act','dispForumDeleteComment','comment_srl',$comment->comment_srl)}">{$lang->cmd_delete}</a>
				<a href="{getUrl('act','dispForumModifyComment','comment_srl',$comment->comment_srl)}">{$lang->cmd_modify}</a> 
				<!--@end-->
				<!--  <a href="{getUrl('act','dispForumReplyComment','comment_srl',$comment->comment_srl)}" class="button green"><span>{$lang->cmd_reply}</span></a> -->
				<!--@if(Context::get('is_logged')) -->
				<a href="{getUrl('act','dispForumReplyComment','comment_srl',$comment->comment_srl,'quote','Y')}">{$lang->cmd_quote}</a> 
				<!--@else-->
				<a href="{getUrl('act','dispMemberLoginForm','comment_srl',$comment->comment_srl,'quote','Y')}">{$lang->cmd_quote}</a> 
				<!--@end-->
				
				
				<!--@if($comment->get('voted_count')!=0 || $comment->get('blamed_count') != 0)-->
				<div class="voted">
					({$lang->voted_count}:
					<strong>{$comment->get('voted_count')?$comment->get('voted_count'):0}</strong> / <strong>{$comment->get('blamed_count')?$comment->get('blamed_count'):0}</strong>)
				</div>
				<!--@end-->
				</div>
				</div>
			</td>
			<td class="mediumGray">
			</td>
			<td class="mediumGray">
			</td>
		</tr>
	<!--@end-->
	</tbody>
	</table>

    <!--@if($oDocument->comment_page_navigation)-->
		<div class="pagination a1">
			<a href="{getUrl('cpage',1,'comment_srl','')}" class="prevEnd"><img src="images/common/arrowPrevEndA1.gif" alt="" title=""/></a> 
			<!--@while($page_no = $oDocument->comment_page_navigation->getNextPage())-->
				<!--@if($cpage == $page_no)-->
					<strong>{$page_no}</strong> 
				<!--@else-->
					<a href="{getUrl('cpage',$page_no,'comment_srl','')}">{$page_no}</a>
				<!--@end-->
			<!--@end-->
			<a href="{getUrl('cpage',$oDocument->comment_page_navigation->last_page,'comment_srl','')}" class="nextEnd"><img src="images/common/arrowNextEndA1.gif" alt="" title="" /></a>
		</div>
    <!--@end-->

<!--@else-->
</tbody>
</table>
<!--@end-->